package com.movitech.mobile.cz.base.common.bpm;

import java.util.Map;

public interface BpmService {

    /***
     * 调用审批流程
     * @param mapParams
     * @param actionType
     * @return
     */
    public Map<String, Object> invokeApprovalFlow(Map<String, Object> mapParams, int actionType);

    /***
     * 调用采购方案接口
     * @param flowFormDataVo
     * @return
     */
    public Map<String, Object> invokePurchaseSolutionDoc(FlowFormDataVo flowFormDataVo);

    /***
     * 调用招标文件接口
     * @param flowFormDataVo
     * @return
     */
    public Map<String, Object> invokeApprovalBidDoc(FlowFormDataVo flowFormDataVo);


    /***
     * 调用定标接口
     * @param flowFormDataVo
     * @return
     */
    public Map<String, Object> invokeApprovalCalibrationBid(FlowFormDataVo flowFormDataVo);

    public String getBpmWorkflowId(Map<String, Object> params);
}
